package com.ruoyi.framework.web.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.ruoyi.system.domain.SysAppClassification;
import com.ruoyi.system.service.ISysAppClassificationService;

/**
 * RuoYi首创 html调用 thymeleaf 实现字典读取
 * 
 * @author ruoyi
 */
@Service("classification")
public class ClassificationService {
	@Autowired
	private ISysAppClassificationService classificationService;

	/**
	 * 根据字典类型查询字典数据信息
	 * 
	 * @param dictType 字典类型
	 * @return 参数键值
	 */
	public List<SysAppClassification> getType(String classType) {
		return classificationService.selectSysAppClassificationByClassType(classType);
	}

}
